package com.ftg.product.exam.vo;

import com.diboot.core.binding.annotation.*;
import com.ftg.product.exam.entity.BaseStudent;
import com.ftg.product.exam.entity.BaseClazz;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

import java.util.List;

/**
* 记录以及管理学员的基本信息 ListVO定义
* @author kangjx
* @version 1.0
* @date 2021-01-15
 * Copyright © ftg
*/
@Getter @Setter @Accessors(chain = true)
public class BaseStudentListVO extends BaseStudent  {
    private static final long serialVersionUID = 978801700419077504L;

    /** 
    * 关联字典：SEX
    */
    @BindDict(type=DICT_SEX, field="sexcode")
    private String sexcodeLabel;

    /** 
    * 关联字典：SCHOOL
    */
    @BindDict(type=DICT_SCHOOL, field="schoolcode")
    private String schoolcodeLabel;

    /** 
    * 关联字典：MAJOR
    */
    @BindDict(type=DICT_MAJOR, field="majorcode")
    private String majorcodeLabel;

    /** 
    * 关联字段：BaseClazz.clazzname
    */
    @BindField(entity = BaseClazz.class, field = "clazzname", condition = "this.classid=id")
    private String classidClazzname;

}